package com.zy.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zy.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description
 * @Author  zhangxiaojia
 * @Date 2020-06-11
 */

@Data
@ApiModel
@TableName ("tb_document" )
public class TbDocument extends BaseEntity {

	private static final long serialVersionUID =  1370040651052167057L;

	/**
	 * 主键
	 */
	@TableId(value="document_id")
	 @ApiModelProperty(hidden = true)
	private Long documentId;

	/**
	 * 文档库id
	 */
   	 @TableField("document_folder_id" )
	 @ApiModelProperty(value ="文档库id")
	private Long documentFolderId;

	 /**
	 * 文档名称
	 */
   	 @TableField("document_name" )
	 @ApiModelProperty(value ="文档名称")
	private String documentName;

	/**
	 * 文档类型
	 */
   	 @TableField("document_type" )
	 @ApiModelProperty(value ="文档类型")
	private String documentType;

	/**
	 * 文档大小
	 */
   	 @TableField("document_size" )
	 @ApiModelProperty(value ="文档大小")
	private String documentSize;

	/**
	 * 文件路径
	 */
	@TableField(value = "file_path")
	 private String filePath;

	/**
	 * 删除标志0未删除1已删除
	 */
	@TableLogic
	@TableField(value = "del_flag")
	@ApiModelProperty(hidden = true)
	private String delFlag;

}
